<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <script>
        /*
        输出验证场景方式
        1、弹框alert(xxx)
        2、控制台输出打印console.log()
            打开位置：浏览器--右击检查--console选项
        */

        var x = 1;
        //alert(1);弹框验证
        console.log(1);//控制台输出打印验证
        console.log(2)
        console.log(2)
        console.log(2)
        console.log(2)
        console.log(2)
        console.log(2)
        console.log(2)
    </script>
</body>
</html>